//
//  PPContactsTableViewCell.m
//  pet
//
//  Created by 陈无忌 on 11/11/14.
//  Copyright (c) 2014 whalefin. All rights reserved.
//

#import "PPContactsCell.h"
#import "supportingHeadFiles.h"

@implementation PPContactsCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configCellWithConversation:(PPUserInfo *)user
{
    self.nameLabel.text = user.userName;
    [self.avatar setImageWithURL:[PPImageUrl getImageUrlOriginal:user.userAvatar] placeholderImage:[UIImage imageNamed:@"defaultAvatar"]];
    self.notificationCount.hidden = YES;
}


@end
